package com.lxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName(value = "history_send_orders")
public class HistorySendOrder implements Serializable {
    private static final long serialVersionUID = 1L;
    //id
    private Long id;
    //订单id
    private Long orderId;
    //城市
    private String city;
    //下单用户的id
    private Long userId;
    //骑手id
    private Long riderId;
    //取件人姓名
    private String pickUpName;
    //取件人电话
    private String pickUpPhone;
    //取件人地址
    private String pickUpAddress;
    //取件地址经度
    private Double pickUpLongitude;
    //取件地址纬度
    private Double pickUpLatitude;
    //收货人的姓名
    private String consigneeName;
    //收货人的电话
    private String consigneePhone;
    //收货人的地址
    private String deliveryAddress;
    //收货地址经度
    private Double deliveryLongitude;
    //收货地址纬度
    private Double deliveryLatitude;
    //物品的类型
    private String type;
    //物品重量
    private BigDecimal weight;
    //金额
    private BigDecimal amount;
    //留言
    private String message;
    //对骑手的评分1-5
    private Integer riderAppraise;
    //订单创建时间
    private LocalDateTime createTime;
    //结束时间
    private LocalDateTime endTime;
}
